createTeam
Sets properties on the [bitballs/components/tournament/details.ViewModel.prototype.team team] model then persists it to the server. Once the "save" request resolves a new Team instance is created and assigned to [bitballs/components/tournament/details.ViewModel.prototype.team team].
details.createTeam(ev)
Sets properties on the [bitballs/components/tournament/details.ViewModel.prototype.team team] model then persists it to the server. Once the "save" request resolves a new Team instance is created and assigned to [bitballs/components/tournament/details.ViewModel.prototype.team team].
Parameters
-
ev
{Event}
OptionalA DOM Level 2 event that
preventDefault
will be called on.